package com.gccloud.dataroom.core.module.device.service;

import com.gccloud.common.service.ISuperService;
import com.gccloud.common.vo.PageVO;
import com.gccloud.dataroom.core.module.device.dto.DataRoomDeviceDTO;
import com.gccloud.dataroom.core.module.device.dto.DeviceSearchDTO;
import com.gccloud.dataroom.core.module.device.entity.DataRoomDeviceEntity;
import com.gccloud.dataroom.core.module.device.vo.DataRoomDeviceVO;

import java.util.List;

/**
 * @author hongyang
 * @version 1.0
 * @date 2023/3/13 10:59
 */
public interface IDataRoomDeviceService  extends ISuperService<DataRoomDeviceEntity> {

    /**
     * 获取地   * @param searchDTO
     * @return
     */
    List<DataRoomDeviceVO> getList(DataRoomDeviceDTO searchDTO);
    /**
     * 获取地   * @param searchDTO
     * @return
     */
    PageVO<DataRoomDeviceEntity> getPage(DeviceSearchDTO searchDTO);

    /**
     * 添加地图
     * @param mapDTO
     * @return
     */
    String add(DataRoomDeviceDTO mapDTO);


    /**
     * 修改地图
     * @param mapDTO
     */
    void update(DataRoomDeviceDTO mapDTO);


    /**
     * 删除地图
     * @param id
     * @return
     */
    boolean delete(String id);




    /**
     * 获取地图
     * @param id
     * @return
     */
    DataRoomDeviceEntity info(String id);

}
